﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace AspArchitecture
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Page_Init(object sender, EventArgs e)
        {
            Response.Write("Page Init");
        }

        protected void sayBtn_Click(object sender, EventArgs e)
        {
            if (hellLbl.Text == "")
            {
                hellLbl.Text = "Hell ASP.NET";
            }
            else
            {
                hellLbl.Text = "";
            }
        }

        protected void createBtn_Click(object sender, EventArgs e)
        {
            System.IO.FileStream fs = System.IO.File.Create(@"C:\Temp\myNewTxt.txt");
            fs.Close();
        }
    }
}
